<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录界面</title>
    <link rel="stylesheet" href="../../lib/layui-v2.6.3/css/layui.css" media="all">
    <link rel="stylesheet" href="../../css/public.css" media="all">
    <link rel="stylesheet" href="login.css">
</head>
<body>
    <div class="form-box">
        <div class="title">
            <h1>幼儿园后台管理</h1>
        </div>
        <div class="login-box">
            <div class="id-box">
                <label for="tid"><i class="layui-icon layui-icon-username" style="font-size: 30px; color: #fac8ed;"></i> </label>
                <input type="text" id="tid" placeholder="请输入员工ID">
            </div>
            <div class="psw-box">
                <label for="tpsw"><i class="layui-icon layui-icon-password" style="font-size: 30px; color: #fac8ed;"></i></label>
                <input type="password" id="tpsw" placeholder="请输入员工密码">
            </div>
            <div class="btn">
                <div id="login">
                <button onclick="login()" id="login-btn">立即登录</button>
            </div>
                <div id="resiger">
                    <button>立即注册</button>
                </div>
            </div>

        </div>
    </div>
    <script src="../../lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
    <script src="../../js/jquery3.6.0.js"></script>
    <script src="login.js"></script>
    <script>
        layui.use(['form', 'table','layer'], function () {
            var $ = layui.jquery,
                form = layui.form,
                table = layui.table,
                layer = layui.layer;})
        $('#resiger').on('click',function (){
            window.location='../resiger/resiger.html'
        })
    </script>
</body>
</html>